<style>
.metabox_voteprofiler span{display:inline-block; width:140px}
</style>

<div class="metabox_voteprofiler">
 	<p>Profiles de Votes:</p>
 
<?php 
$current_plugins = get_option('active_plugins');
if (in_array('reaction-buttons/reaction_buttons.php', $current_plugins)) {
	$titles = explode(',',get_option('reaction_buttons_button_names'));
		
	echo '<p>';
	foreach($titles as $title){
		$meta_goal = '_reaction_buttons_'.trim($title); // keep suffix '_reaction_buttons' to fit the 'reaction buttons' plugin data !
	?>	
		<span><label for="<?php echo $meta_goal?>"><?php echo $title?></label>
		<?php $mb->the_field($meta_goal); ?>
		<input type="text" class="" id="<?php echo $meta_goal?>" name="<?php $mb->the_name(); ?>" value="<?php $mb->the_value(); ?>"/>
		</span>
	<?php	
	}
	echo '</p>';
}
?>
</div>